package com.clement.spring.study.model;

import lombok.Getter;
import lombok.Setter;
import org.joda.time.DateTime;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Clement on 2017/2/28.
 */
@Getter
@Setter
public class Person implements Serializable{
    private String name;
    private int age;
    private Date loginDateTime = new Date();

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", loginDateTime=" + loginDateTime +
                '}';
    }

    Person() {

    }
}
